<aside class="col-md-4">
    <div class="widget widget-recent-posts">
        <h3 class="widget-title">最新文章</h3>
        <ul>
            @for(post in recentList){
            <li>
                <a href="${basePath}post/${post.id}">${post.title}</a>
            </li>
            @}
        </ul>
    </div>
    <div class="widget widget-archives">
        <h3 class="widget-title">归档</h3>
        <ul>
            @for(archive in archives){
            <li>
                <a href="${basePath}post/date/${archive[0],'yyyy'}/${archive[0],'MM'}">${archive[0],"yyyy年MM月"}(${archive[1]})</a>
            </li>
            @}
        </ul>
    </div>

    <div class="widget widget-category">
        <h3 class="widget-title">分类目录</h3>
        <ul>
            @for(category in categorys){
            <li>
                <a href="${basePath}post/category/${category.slug}">${category.name}</a>
            </li>
            @}
        </ul>
    </div>
</aside>